﻿@model BuildServer.Models.BuildTemplate

@{
    ViewBag.Title = "Build Templates";
}

<h2 class="title"><img src="~/Images/BuildTemplate.png" />@ViewBag.Title - @Model.Name</h2>

<h3>Are you sure you want to delete this?</h3>

<table class="editor-table">
    @Html.DisplayRowFor(model => model.Name)
    @Html.DisplayRowFor(model => model.WorkingDirectory)
    @Html.DisplayRowFor(model => model.BuildScript, "pre")
    @Html.DisplayRowFor(model => model.BuildProps, "pre")
</table>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <p>
        <input type="submit" value="Delete" />
        |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
